//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//

package org.quickserver.util.state;

import org.quickserver.net.model.DevType;
import org.quickserver.util.data.dataProcessing;

import java.util.Arrays;
import java.util.HashMap;
import java.util.Map;

public class ZC2B0State {
    public ZC2B0State() {
    }

    public static Map<String, String> getZC2B0State(String[] strs) {
        Map<String, String> map = new HashMap();
        int[] b1 = dataProcessing.henTo2(strs[0]);
        int[] b2 = dataProcessing.henTo2(strs[1]);
        int[] b3 = dataProcessing.henTo2(strs[2]);
        int[] b4 = dataProcessing. henTo2(strs[3]);
        int[] b5 = dataProcessing.henTo2(strs[4]);
        int[] b6 = dataProcessing.henTo2(strs[5]);
        int[] b7 = dataProcessing.henTo2(strs[6]);

        int[] array=dataProcessing.arrayCopy(b1,b2,b3,b4,b5,b6,b7);
        int []d = array;

        for(int i = 0; i < d.length; ++i) {
            switch(i) {
            case 0:
                switch(d[i]) {
                case 0:
                    continue;
                case 1:
                    map.put("101","剩余电流互感器状态开路或短路");
                    continue;
                }
                default:
                    continue;
            case 1:
                switch(d[i]) {
                case 0:
                default:
                    continue;
                case 1:
                    continue;
                }
            case 2:
                switch(d[i]) {
                case 0:
                    continue;
                case 1:
                default:
                    continue;
                }
            case 3:
                switch(d[i]) {
                case 0:
                default:
                    continue;
                case 1:
                    continue;
                }
            case 4:
                switch(d[i]) {
                case 0:
                default:
                    continue;
                case 1:
                    continue;
                }
            case 5:
                switch(d[i]) {
                case 0:
                default:
                    continue;
                case 1:
                    continue;
                }
            case 6:
                switch(d[i]) {
                case 0:
                default:
                    continue;
                case 1:
                    continue;
                }
            case 7:
                switch(d[i]) {
                case 0:
                    continue;
                case 1:
                default:
                    continue;
                }
            case 8:
                switch(d[i]) {
                case 0:
                    continue;
                case 1:
                    map.put("106", "继电器有输出");
                    continue;
                default:
                    continue;
                }
            case 9:
                switch(d[i]) {
                case 0:
                    continue;
                case 1:
                    map.put("105", "错相");
                    continue;
                default:
                    continue;
                }
            case 10:
                switch(d[i]) {
                case 0:
                    continue;
                case 1:


                    continue;
                default:
                    continue;
                }
            case 11:
                switch(d[i]) {
                case 0:
                    continue;
                default:
                    continue;
                case 1:
                    map.put("104", "C 相断电");
                    continue;
                }
            case 12:
                switch(d[i]) {
                case 0:
                    continue;
                case 1:
                    continue;
                default:
                    continue;
                }
            case 13:
                switch(d[i]) {
                case 0:
                    continue;
                case 1:
                    map.put("103", "B 相断电");
                    continue;
                default:
                    continue;
                }
            case 14:
                switch(d[i]) {
                case 0:
                    continue;
                case 1:
                    continue;
                default:
                    continue;
                }
            case 15:
                switch(d[i]) {
                case 0:
                    continue;
                case 1:
                    map.put("102","A 相断电");
                    continue;
                default:
                    continue;
                }
            case 16:
                switch(d[i]) {
                    case 0:
                        continue;
                    case 1:
                        continue;
                    default:
                        continue;
                }
            case 17:
                switch(d[i]) {
                    case 0:
                        continue;
                    case 1:
                        map.put("1003", "电流C报警");
                        continue;
                    default:
                        continue;
                }
            case 18:
                switch(d[i]) {
                    case 0:
                        continue;
                    case 1:
                        continue;
                    default:
                        continue;
                }
            case 19:
                switch(d[i]) {
                    case 0:
                        continue;
                    case 1:
                        map.put("1002", "电流B报警");
                        continue;
                    default:
                        continue;
                }
            case 20:
                switch(d[i]) {
                    case 0:
                        continue;
                    case 1:

                        continue;
                    default:
                        continue;
                }
            case 21:
                switch(d[i]) {
                    case 0:
                        continue;
                    case 1:
                        map.put("1001", "电流A报警");
                        continue;
                    default:
                        continue;
                }
            case 22:
                switch(d[i]) {
                    case 0:
                        continue;
                    case 1:
                        map.put("111", "温度N互感器短路或者开路");
                        continue;
                    default:
                        continue;
                }
            case 23:
                switch(d[i]) {
                    case 0:
                        continue;
                    case 1:
                        map.put("1014", "温度N报警");
                        continue;
                    default:
                        continue;
                }
            case 24:
                switch(d[i]) {
                    case 0:
                        continue;
                    case 1:
                        map.put("112", "温度 C 互感器短路或者开路");
                        continue;
                    default:
                        continue;
                }
            case 25:
                switch(d[i]) {
                    case 0:
                        continue;
                    case 1:
                        map.put("1013", "温度C报警");
                        continue;
                    default:
                        continue;
                }
            case 26:
                switch(d[i]) {
                    case 0:
                        continue;
                    case 1:
                        map.put("112", "温度 B 互感器短路或者开路");
                        continue;
                    default:
                        continue;
                }
            case 27:
                switch(d[i]) {
                    case 0:
                        continue;
                    case 1:
                        map.put("1012", "温度 B报警");
                        continue;
                    default:
                        continue;
                }
            case 28:
                switch(d[i]) {
                    case 0:
                        continue;
                    case 1:
                        map.put("112", "温度 A 互感器短路或者开路");
                        continue;
                    default:
                        continue;
                }
            case 29:
                switch(d[i]) {
                    case 0:
                        continue;
                    case 1:
                        map.put("1011", "温度 A 报警");
                        continue;
                    default:
                        continue;
                }
            case 30:
                switch(d[i]) {
                    case 0:
                        continue;
                    case 1:
                        continue;
                    default:
                        continue;
                }
            case 31:
                switch(d[i]) {
                    case 0:
                        continue;
                    case 1:
                        map.put("1026", "电压 C 过压");
                        continue;
                    default:
                        continue;
                }
                case 32:
                    switch(d[i]) {
                        case 0:
                            continue;
                        case 1:
                            map.put("1025", "电压 C 欠压");
                            continue;
                        default:
                            continue;
                    }
                case 33:
                    switch(d[i]) {
                        case 0:
                            continue;
                        case 1:
                            continue;
                        default:
                            continue;
                    }
                case 34:
                    switch(d[i]) {
                        case 0:
                            continue;
                        case 1:
                            map.put("1024", "电压 B 过压");
                            continue;
                        default:
                            continue;
                    }
                case 35:
                    switch(d[i]) {
                        case 0:
                            continue;
                        case 1:
                            map.put("1023", "电压 B 欠压");
                            continue;
                        default:
                            continue;
                    }
                case 36:
                    switch(d[i]) {
                        case 0:
                            continue;
                        case 1:

                            continue;
                        default:
                            continue;
                    }
                case 37:
                    switch(d[i]) {
                        case 0:
                            continue;
                        case 1:
                            map.put("1022", "电压 A 过压");
                            continue;
                        default:
                            continue;
                    }
                case 38:
                    switch(d[i]) {
                        case 0:
                            continue;
                        case 1:
                            map.put("1021", "电压A欠压");
                            continue;
                        default:
                            continue;
                    }
                case 39:
                    switch(d[i]) {
                        case 0:
                            continue;
                        case 1:
                            map.put("1031", "漏电报警");
                            continue;
                        default:
                            continue;
                    }
                case 40:
                    switch(d[i]) {
                        case 0:
                            continue;
                        case 1:
                            continue;
                        default:
                            continue;
                    }
                case 41:
                    switch(d[i]) {
                        case 0:
                            continue;
                        case 1:
                            continue;
                        default:
                            continue;
                    }
                case 42:
                    switch(d[i]) {
                        case 0:
                            continue;
                        case 1:
                            continue;
                        default:
                            continue;
                    }
                case 43:
                    switch(d[i]) {
                        case 0:
                            continue;
                        case 1:
                            continue;
                        default:
                            continue;
                    }
                case 44:
                    switch(d[i]) {
                        case 0:
                            continue;
                        case 1:
                            continue;
                        default:
                            continue;
                    }
                case 45:
                    switch(d[i]) {
                        case 0:
                            continue;
                        case 1:
                            continue;
                        default:
                            continue;
                    }
                case 46:
                    switch(d[i]) {
                        case 0:
                            continue;
                        case 1:
                            continue;
                        default:
                            continue;
                    }
                case 47:
                    switch(d[i]) {
                        case 0:
                            continue;
                        case 1:
                            continue;
                        default:
                            continue;
                    }
                case 48:
                    switch(d[i]) {
                        case 0:
                            continue;
                        case 1:
                            continue;
                        default:
                            continue;
                    }
                case 49:
                    switch(d[i]) {

                        case 0:
                            map.put("137","频率显示");
                            continue;
                        case 1:
                            map.put("138","频率不显示");
                            continue;
                        default:
                            continue;
                    }
                case 50:
                    switch(d[i]) {

                        case 0:
                            map.put("145","功率因数不显示");
                            continue;
                        case 1:
                            map.put("146","功率因数显示");
                            continue;
                        default:
                            continue;
                    }
                case 51:
                    switch(d[i]) {

                        case 0:
                            map.put("133","总电量不显示");
                            continue;
                        case 1:
                            map.put("134","总电量显示");
                            continue;
                        default:
                            continue;
                    }
                case 52:
                    switch(d[i]) {
                        case 0:
                            map.put("131","电能方向不显示");
                            continue;
                        case 1:
                            map.put("132","电能方向显示");
                            continue;
                        default:
                            continue;
                    }
                case 53:
                    switch(d[i]) {
                        case 0:
                            map.put("129","功率不显示");
                            continue;
                        case 1:
                            map.put("130","功率显示");
                            continue;
                        default:
                            continue;
                    }
                case 54:
                    switch(d[i]) {
                        case 0:
                            map.put("127","线电流不显示");
                            continue;
                        case 1:
                            map.put("128","线电流显示");
                            continue;
                        default:
                            continue;
                    }
                case 55:
                    switch(d[i]) {
                        case 0:
                            map.put("125","线电压不显示");
                            continue;
                        case 1:
                            map.put("126","线电压显示");
                            continue;
                        default:
                            continue;
                    }
            }
        }

        return map;
    }
}
